package errcode

// 模块的错误码

var (
	ErrorCreateDictFail        = NewError(20010001, "创建字典失败")
	ErrorGetListDictFail       = NewError(20010002, "获取字典列表失败")
	ErrorCountDictFail         = NewError(20010003, "统计字典失败")
	ErrorUpdateDictFail        = NewError(20010004, "更新字典失败")
	ErrorDeleteDictFail        = NewError(20010005, "删除字典失败")
	ErrorDictExistFail         = NewError(20010006, "字典或类型已存在")
	ErrorDictItemExistFail     = NewError(20010007, "字典项或类型已存在")
	ErrorGetListDictItemFail   = NewError(20010008, "获取字典项列表失败")
	ErrorGetDeptByDeptNameFail = NewError(20010009, "部门已存在")
	ErrorGetListDeptFail       = NewError(20010010, "获取部门列表失败")
	ErrorCountDeptFail         = NewError(20010011, "统计部门失败")
	ErrorUpdateDeptFail        = NewError(20010012, "更新部门失败")
	ErrorDeleteDeptFail        = NewError(20010013, "删除部门失败")
	ErrorGetJobFail            = NewError(20010014, "岗位已存在")
	ErrorUpdateFail            = NewError(20010015, "更新失败")
	ErrorDictNotExistFail      = NewError(20010016, "字典不存在")
)
